package com.aaa.stock.service;

import com.aaa.entity.StockProvider;
import com.aaa.entity.StockPurchase;
import com.aaa.entity.StockPurchaseItem;
import com.aaa.stock.vo.PurchaseVo;
import com.aaa.vo.Result;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface PurchaseService extends IService<StockPurchase> {
    Result<IPage<StockPurchase>>getByPage(Integer currentPage, Integer pageSize, PurchaseVo purchaseVo);

    Result<String>purchaseIdRequest();

    Result<IPage<StockPurchase>>getByPage1(Integer currentPage, Integer pageSize, PurchaseVo purchaseVo);

    Result<String> Approved(String status, String purchaseId);

    Result<String> NotApproved(String status, String purchaseId, String examine);
}
